package com.easy.mapper;

import com.easy.bean.ClassificationBean;
import com.easy.bean.UserBean;
import com.easy.util.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface ClassificationDao {
    int add(@Param("clas")ClassificationBean clas);
    int edit(@Param("clas")ClassificationBean clas);
    int del(@Param("id") Integer id);
    List<ClassificationBean> list(@Param("clas") ClassificationBean clas);

    ClassificationBean get(Integer id);
    int pageCount(@Param("clas") ClassificationBean clas);
    List<ClassificationBean> page(@Param("page") Page page, @Param("clas") ClassificationBean clas);

}
